package java程序员面试宝典.java基础知识;

public class Break {
    public static void main(String[] args) {
        out:
        for (int i = 0; i <5 ; i++) {
            for (int j = 0; j <5 ; j++) {
                if(j>=2){
                    break out;
                }
                System.out.println(j);
            }
        }
        System.out.println("break");
    }
}
